<!DOCTYPE html>
<#assign ctx=request.contextPath>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="${ctx}/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/style.css" />
    <link rel="stylesheet" type="text/css" href="${ctx}/css/admin-right.css" />
    <script type="text/javascript" src="${ctx}/js/jquery-1.11.0.js"></script>
    <script type="text/javascript" src="${ctx}/js/jquery-migrate-1.2.1.js"></script>
</head>
<body>

<table class="table table-bordered table-hover definewidth m10" >
    <thead>
    <tr>
        <th>订单编号</th>
        <th>商品</th>
        <th>商品价格</th>
        <th>优惠价格</th>
        <th>购买数量</th>
        <th>订单总额</th>
        <th>支付状态</th>
    </tr>
    </thead>
    	<#if orderItemList??>
	    	<#list orderItemList as orderItem>
		     <tr>
	            <td>${orderItem.order.orderCode}</td>
	            <td>${orderItem.goods.title}</td>
	            <td>${orderItem.goods.price}</td>
	            <td>${orderItem.goods.favorablePrice}</td>
	            <td>${orderItem.orderNum}</td>
	            <td>${orderItem.order.totalAmount}</td>
	            <td>
	            	<#if orderItem.order.alipay = 1>
	            		<font color="green">已支付</font>
	            	<#else>
	            	     <font color="red">未支付</font>
	            	</#if>
	            </td>
	        </tr>
	        </#list>
        </#if>
     </table>
  </body>
</html>